import { Router } from 'express'
const router = Router()
import { createEmployee, deleteEmployee, getEmployees, updateEmployee } from '../controllers/employees'
import { createEmployeeValidator, deleteEmployeeValidator, updateEmployeeValidator } from '../middlewares/validation'

// router.get('/', getEmployees)
// router.post('/', createEmployeeValidator, createEmployee)
// router.put('/:employeeId', updateEmployeeValidator, updateEmployee)
// router.delete('/:employeeId', deleteEmployeeValidator, deleteEmployee)
// todo: нужно будет доиграться с валидацией
router.get('/', getEmployees)
router.post('/', createEmployee)
router.put('/:employeeId', updateEmployee)
router.delete('/:employeeId', deleteEmployee)

export default router
